import java.awt.Graphics;
import java.awt.Image;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.JPanel;


class BgPanel extends JPanel
{

	private static final long serialVersionUID = 1L;

	public void paintComponent(Graphics g){
        Image im = null;
        try {im = ImageIO.read(new File("C:\\Eclipse\\WTF3\\src\\background.bmp"));
        } catch (IOException e) {}
        g.drawImage(im, 0, 0, null); 
    }
}